package io.gitee.twoke.generator.engine.impl.persistence;

import io.gitee.twoke.generator.engine.impl.persistence.entity.TemplateFileEntity;
import io.gitee.twoke.generator.engine.impl.persistence.entity.data.DataManager;
import io.gitee.twoke.generator.engine.impl.template.TemplateFile;
import io.gitee.twoke.generator.engine.impl.template.impl.TemplateFileQueryImpl;

import java.util.List;

public interface TemplateFileDataManager extends DataManager<TemplateFileEntity> {
    long findTemplateFileCountByQueryCriteria(TemplateFileQueryImpl templateFileQuery);

    List<TemplateFile> findTemplateFilesByQueryCriteria(TemplateFileQueryImpl templateFileQuery);

    void deleteTemplateFilesByTemplateId(String templateId);
}
